package com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.contractTemplate;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 管理后台 - 合同模板更新 Request VO
 */
@Schema(description = "管理后台 - 合同模板更新 Request VO")
@Data
@ToString(callSuper = true)
public class ContractTemplateOpenOrCloseReqVO {

    /**
     * 合同模版id
     */
    @Schema(description = "合同模版id", required = true)
    @NotNull(message = "合同模版id不能为空")
    private Long id;

    /**
     * 状态 0关闭 1开启
     */
    @Schema(description = "状态 0关闭 1开启")
    @NotNull(message = "状态 0关闭 1开启")
    private Integer status;

}
